package MicroTime;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author HuBiWei
 * @create 2022/6/7
 */
public class TransFormUtils {

    public static String getDateString(Date date){
        SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        return format.format(date);
    }
}
